{include file="header.html"}
<body class="gr">

<div class="navBar">
	<a class="left" href="javascript:history.back()"><i class="return"></i></a>
	<div class="titleView-x">确认密码</div>
</div>

<div class="member-bank main-top">
	<span>请再次输入密码以确认。</span>
	<form action="{$action}" method="post">
	<input type="hidden" name="gourl" value="{if isset($url)}{$url}{else}wap.php?app=member&act=index{/if}" />
	<input type="hidden" name="goalert" value="{if isset($alert)}{$alert}{/if}" />
	<input type="hidden" name="password" id="password" value="{$password}" />
	<input type="tel" id="confirm_pwd" />
	</form>
</div>
{include file="footer.html"}
<script>
$(function(){
	$('#confirm_pwd').passwordView({
		empty : function(){
			$('#confirm_pwd').removeClass('error');
		},
		callback : function(){
			if($('#password').val()!=$('#confirm_pwd').val()){
				$.overloadError('两次密码不一致');
				$('#confirm_pwd').addClass('error');
				return false;
			}
			$('form').submit();
		}
	});
});
</script>